package zuoye

	import java.util.LinkedList;
	import notepad.Notepad;
	import java.util.Scanner;

	public class caidan {
		public static void main(String[] args) {
		  LinkedList<String> list = new LinkedList<String>();
			Notepad n = new Notepad();
			Scanner reader = new Scanner(System.in);
			
			while (true) {
				System.out.println("\n1.  2.ɾ  3.  4.޸\n");
				int a = reader.nextInt();
				switch (a) {
				case 1:
					n.add(list);
					break;
				case 2:
					n.del(list);
					break;
				case 3:
					n.seach(list);
					break;
				case 4:
					n.change(list);
					break;
				}
			}

		}

	}
}
